/**
 * @Author DengJia
 * @Date 2021/8/9 14:39
 * @Description
 */

public class FormulaImpl implements Formula {
    @Override
    public double calculate(int initial) {
        return 0;
    }

    public static void main(String[] args) {
        FormulaImpl formula = new FormulaImpl();
        System.out.println("formula.sqrt(10) = " + formula.sqrt(10));

        Formula formula1 = new Formula() {
            @Override
            public double calculate(int initial) {
                return 0;
            }
        };

    }
}
